cmd_mmc: use new mmc_select_hwpart() function
authorStephen Warren <[email protected]>
Wed, 7 May 2014 18:19:03 +0000 (12:19 -0600)
committerPantelis Antoniou <[email protected]>
Fri, 23 May 2014 09:23:28 +0000 (12:23 +0300)
commitdf348d8245922adbb03a3a979429c5e70342973c
tree87219904064264f42aa32a0d54b9b6f8cbcb7bfa
parentd235628434657cf1eba58821445cb5ad88e10763
cmd_mmc: use new mmc_select_hwpart() function

The implementation of mmc_select_hwpart() was cribbed from do_mmcops().
Update do_mmcops() to call mmc_select_hwpart() to avoid duplication.

<panto> Manual patch update due to patch order.

Acked-by: Pantelis Antoniou <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
common/cmd_mmc.c